package com.ax.associator.store.domain;

import java.math.BigDecimal;
import java.util.Date;

public class BaseChargeRules {
    /**
     * 充值规则ID
     */
    private Long chargeRulesId;

    /**
     * 充值月数
     */
    private Integer chargeMonths;

    /**
     *赠送天数
     */
    private Integer giveDays;
    /**
     *价格
     */

    private BigDecimal price;

    /**
     *备注
     */
    private String remarks;
    /**
     *维护人员ID
     */

    private Long registrarId;
    /**
     *维护人员姓名
     */

    private String registrarName;
    /**
     *创建时间
     */

    private Date createDate;

    /**
     *修改时间
     */
    private Date updateDate;
    /**
     *状态（1：有效；0：注销）
     */

    private Integer flag;


    public Long getChargeRulesId() {
        return chargeRulesId;
    }


    public void setChargeRulesId(Long chargeRulesId) {
        this.chargeRulesId = chargeRulesId;
    }


    public Integer getChargeMonths() {
        return chargeMonths;
    }


    public void setChargeMonths(Integer chargeMonths) {
        this.chargeMonths = chargeMonths;
    }

    public Integer getGiveDays() {
        return giveDays;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Give_Days
     *
     * @param giveDays the value for base_charge_rules.Give_Days
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setGiveDays(Integer giveDays) {
        this.giveDays = giveDays;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.Price
     *
     * @return the value of base_charge_rules.Price
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Price
     *
     * @param price the value for base_charge_rules.Price
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.Remarks
     *
     * @return the value of base_charge_rules.Remarks
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Remarks
     *
     * @param remarks the value for base_charge_rules.Remarks
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.Registrar_ID
     *
     * @return the value of base_charge_rules.Registrar_ID
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public Long getRegistrarId() {
        return registrarId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Registrar_ID
     *
     * @param registrarId the value for base_charge_rules.Registrar_ID
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setRegistrarId(Long registrarId) {
        this.registrarId = registrarId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.Registrar_Name
     *
     * @return the value of base_charge_rules.Registrar_Name
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public String getRegistrarName() {
        return registrarName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Registrar_Name
     *
     * @param registrarName the value for base_charge_rules.Registrar_Name
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setRegistrarName(String registrarName) {
        this.registrarName = registrarName == null ? null : registrarName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.create_date
     *
     * @return the value of base_charge_rules.create_date
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.create_date
     *
     * @param createDate the value for base_charge_rules.create_date
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.update_date
     *
     * @return the value of base_charge_rules.update_date
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.update_date
     *
     * @param updateDate the value for base_charge_rules.update_date
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column base_charge_rules.Flag
     *
     * @return the value of base_charge_rules.Flag
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column base_charge_rules.Flag
     *
     * @param flag the value for base_charge_rules.Flag
     *
     * @mbggenerated Mon Sep 03 16:01:33 CST 2018
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}